home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992…ugust: Hack to the Future / ADC Developer CD (1992-08) (''Hack To The Future'')_iso / Dev.CD 199208.iso / Technical Documentation / DTS Sample Code / Snippets / ! Snippet Index (tab-delimited) < prev   
Encoding:
Text File  |  1992-07-15  |  27.1 KB  |  154 lines  |  [TEXT/????]

  1. Audio CD    An MPW Tool that allows you to start, stop, pause, and continue audio CD tracks.    Devices & Hardware
  2. Cache Flushing    Cache.c contains code to correctly flush instruction and data caches on all Macintosh CPUs, including the Quadras.    Devices & Hardware
  3. CDROMDriveCheck    An MPW c tool that checks to see which SCSI IDs are AppleCD SC drives.  It makes a status call(97) to the AppleCD SC driver (only works with this driver).    Devices & Hardware
  4. DisableEject    Shows how to stop a floppy disk from being ejected. This has no chance of being compatible with future system software.    Devices & Hardware
  5. Disk Icons    This C routine calls disk drivers to retrieve icon information.    Devices & Hardware
  6. DumpSRec    This MPW tool converts an arbitrary Macintosh data file or resource into Motorola S-Record format, mostly to assist in downloading code and data to EPROM programmers or non-Macintosh target platforms.    Devices & Hardware
  7. Floppy II    This sample uses the sony driver calls to get the format list of a super drive disk, to find if the disk supports MFM 720 disk. If so, it reformats the disk to be that type. !! Warning: The data on the disk in drive 1  will get blown away and there are no warnings.!!    Devices & Hardware
  8. ledApp    This is a faceless background task for System 7. It counts to 7 on an extended keyboard’s lights repeatedly until the Shift and Caps Lock keys are pressed, or until it receives a Quit Application Apple event.    Devices & Hardware
  9. SCSIInquiry    This MPW tool shows how to make a SCSI inquiry command to an HD80SC.    Devices & Hardware
  10. TimerTst    This hardware-dependent snippet shows how to use the VIA timers (for the few times when the Time Manager is not appropriate).    Devices & Hardware
  11. AddFrameToMovie    This program demonstrates adding a frame to the end        of an existing  QuickTime movie.    Graphics & Printing:Other
  12. DirectSetEntries    This sample demonstrates the use of DirectSetEntries to remap colors on a direct device.    Graphics & Printing:Other
  13. Easy Video Grabber    A very tiny little library of routines that simply grabs a single frame of video into the current GrafPort, into a requested rectangle using the QuickTime component interface.    Graphics & Printing:Other
  14. GDevVideo    This code shows how to get the parameters out of GDevice records.    Graphics & Printing:Other
  15. MakeITable    This sample application shows how to manipulate a GDevice’s inverse table.    Graphics & Printing:Other
  16. MCPlayMovie    This program demonstrates playing movies with QuickTime movie controllers.  It also allows the user to save the movies in a flattened format using FlattenMovie().    Graphics & Printing:Other
  17. NamingTableAccess    NamingTableAccess is a Pascal Unit, and a small application demonstrating its usage. It helps dig out the contents of the NamingTable in a TrueType 'sfnt'    Graphics & Printing:Other
  18. PlayMovie    This program demonstrates playing movies with QuickTime (without the controller).  It also allows the user to save the movies in a flattened format using FlattenMovie().    Graphics & Printing:Other
  19. TranslateRotate    This MPW Tool demonstrates the use of the Fixed and Frac types to perform simple 2D translation and rotation.    Graphics & Printing:Other
  20. Dashed Lines    This sample demonstrates how to draw dashed line objects on PostScript printers. This simple example does not deal with QuickDraw printers, on which it draws solid black lines.    Graphics & Printing:Printing
  21. Dashed-capped Lines    This sample demonstrates how to draw dashed line objects on PostScript printers. In this case, they are capped PostScript lines. I use round caps, which means that the ends of the lines are rounded. This simple example does not deal with QuickDraw    Graphics & Printing:Printing
  22. GrayText    This sample demonstrates two methods of printing gray text. On PostScript printers it sends PostScript, on QuickDraw printers it sends Color QuickDraw calls. If a QuickDraw printer does not use a CGrafPort, the gray text comes out as black.    Graphics & Printing:Printing
  23. HairLines    HairLines is an MPW 3.2 Pascal sample that demonstrates different methods of creating hairlines on printers.    Graphics & Printing:Printing
  24. ImageWriter bug    This sample snippet demonstrates how to work around the 'dctb' bug in the ImageWriter II 6.1 and 7.0 drivers. This bug causes a crash when doing a style (Page Setup) dialog after setting draftBits with PrGeneral.    Graphics & Printing:Printing
  25. InvertedText    This sample application gives you cool tricks for printing inverted text.    Graphics & Printing:Printing
  26. PDlog Expand    This example shows how to add items to print dialogs. It’s essentially the code in Tech Note #95, only in C.    Graphics & Printing:Printing
  27. PicCommentsTest    Here's a complete working application you can use to investigate further the interpretation of picture comments by various printer drivers under various circumstances. Read TN#91 for details.    Graphics & Printing:Printing
  28. Rotated Thingies    This example demonstrates how to rotate objects on PostScript printers using two methods: RotateBegin/End PicComments and TextBegin/End PicComments. PrGeneral is used to change the resolution, which throws another wrench in the works: scaling.    Graphics & Printing:Printing
  29. SetPDiMC    This MPW tool sets the “Printer Driver Is MultiFinder Compatible” flag (see “Learning to Drive” on the Developer Essentials disc).    Graphics & Printing:Printing
  30. Stylemap    Yet another code illustration for the Q&A on "intrinsic styles of a PostScript font" in d e v e l o p, Summer 1991.    Graphics & Printing:Printing
  31. AlternateBufferDisplay    Shows that copybits along with offscreen bitmaps can emulate alternating buffer displays at a reasonable rate.    Graphics & Printing:QuickDraw
  32. Band Copying, the Sequel    Under low memory conditions, it's often necessary to draw an image by individual bands rather than to draw the entire image at once, and in most cases this method works fine unless the image requires dithering from its source to its destination.   The purpose of this app is to show the problem that may occur when copying these individual bands and to provide one possible solution.    Graphics & Printing:QuickDraw
  33. CalcCMask & CalcMask    This snippet shows how to use both CalcCMask and CalcMask to create a mask given a source bitmap image. This is similar to the lasso tool found in many drawing apps.    Graphics & Printing:QuickDraw
  34. ClutWind    Displays a window that shows the colors in the color table associated with the device the window is on top of.    Graphics & Printing:QuickDraw
  35. CollectPictColors    This application demonstrates two methods of collecting colors used by Pict resources: the Picture Utilities package and Jon Zap's KnowsPict application. Each method gives different results.    Graphics & Printing:QuickDraw
  36. Color Picker    This app provides a quick example of how to change palette colors using the Color Picker Package. The program simply creates a palette, attaches it to a window, then calls color picker routines whenever a user clicks in the window to change a color    Graphics & Printing:QuickDraw
  37. CopybitsSpeedPalette    This program demostrates ways to increase copybits speed when using palettes.    Graphics & Printing:QuickDraw
  38. CopyMask    Shows how CopyMask can used to fade a screen to a     lighter color.    Graphics & Printing:QuickDraw
  39. DeepScreen Picker    This sample shows how to slam and center the Color Picker dialog onto the deepest device when 32 Bit QuickDraw is not available.    Graphics & Printing:QuickDraw
  40. DTS Groupies    This thingy groups a bunch of pictures together and takes them apart using PicComments and a QuickDraw bottleneck procedure. It's an example of how to store and retrieve custom PicComments, among other things.    Graphics & Printing:QuickDraw
  41. GiMeDaPalette w/Sound    This is the original version of GiMeDaPalette with a change to make it possible to play a sound at the same time as the colors are being animated.    Graphics & Printing:QuickDraw
  42. GrayishOutline    This snippet was written in reply to a developer question on how to draw the "best possible gray" across several screens of various depth (see the related Q&A in a recent  d e v e l o p   near you).    Graphics & Printing:QuickDraw
  43. Icon Display    A Think C project that shows how to display the pure pixel data in icnX families.    Graphics & Printing:QuickDraw
  44. IconDimming    This snippet shows two different ways to achieve a dimming effect on icons. The first method uses a custom color search procedure, and in the second method the RGB components of the icon's colortable entries are all dimmed before the image is copied.    Graphics & Printing:QuickDraw
  45. MakeIcon    This program shows how to take any size pixmap and create any size or depth icon.    Graphics & Printing:QuickDraw
  46. Marquee    Demonstrates marching ants (the scrolling dashed lines used in a selection rectangle).    Graphics & Printing:QuickDraw
  47. MyDeviceLoop    This snippet shows how to write a device loop that works under both System 7 and pre-7.0 systems. It installs a device loop procedure that searches all active screen devices, calling a drawing procedure whenever it encounters a screen that intersects the drawing region.    Graphics & Printing:QuickDraw
  48. Out of This GWorld    The application basically uses offscreen GWorlds and palette animation to simulate totally cool animation.    Graphics & Printing:QuickDraw
  49. Palette Animation and Palette Animation Gray    These sample applications show how to animate the entries of a palette.    Graphics & Printing:QuickDraw
  50. Pallet DA    This desk accesory displays the the current color table and palette    information associated with it.    Graphics & Printing:QuickDraw
  51. Restore Screen Cluts    This snippet shows how to restore all the screen’s color tables back to what they normally are using two different methods.    Graphics & Printing:QuickDraw
  52. Rotate Bitmap 90°    Shows a fast way to rotate bitmaps by 90 degrees.    Graphics & Printing:QuickDraw
  53. Snapshot    This program demonstrates how to easily capture the main screen's desktop image into your own window.    Graphics & Printing:QuickDraw
  54. TE Over Background    This sample shows how to use TextEdit over a background GWorld without those nasty white patches. The trick is to patch the bottlenecks for the port so that when TextEdit erases it just copies your bits rather than erasing.    Graphics & Printing:QuickDraw
  55. TickAnimate    Sample of how to use ticks to synchronize drawing to the screen.    Graphics & Printing:QuickDraw
  56. WindowColors    This application displays the default window colors stored in the System's 'wctb' resource.  Note that this app is 7.0 only, since it only recognizes the 7.0 version of the resource.    Graphics & Printing:QuickDraw
  57. Get Ethernet Address    Demonstrates both the use of the LAP Manager to get the current AppleTalk connection device and a call to EGetInfo to obtain the burned in Ethernet address.    Nets & Comm
  58. Get LAP Connection        Sample code to demonstrate use of the LAP Manager call to determine the current connection type i.e LocalTalk, EtherTalk phase 1/2, or TokenTalk phase 2.    Nets & Comm
  59. Get Tool Config    This sample shows how to accumulate into a TEXT file the config strings of Connection Tools that have been configured with CMChoose.    Nets & Comm
  60. GetADEVType.c    Sample code to demonstrate use of the LAP Manager call to determine the current connection type i.e LocalTalk, EtherTalk phase 1/2, or TokenTalk phase 2.    Nets & Comm
  61. TCP    Includes two MPW Tools, TCPSend and TCPReceive, that demonstrate a very simple establishment of a TCP connection and sending a text string over that connection. An API library of all the MacCTB driver and DNR calls is also included.    Nets & Comm
  62. TCP Server    This client/server sample uses MacTCP to implement a simple "greeting" server.  The server opens up several listeners on kGreetingPort (1235).     Nets & Comm
  63. testNBP    Test program to demonstrate case insensitivity of NBP. Two names are registered and confirmed. A lookup is performed with both lower case and upper case initial letters of the object. Also demonstrates the use of the PSetSelfSend capability.    Nets & Comm
  64. Transition Queue Watcher    This sample program demonstrates the implementation of an AppleTalk Transition Queue to demonstrate the messages which get passed when transition events take place.    Nets & Comm
  65. UDPSample    This sample illustrates how to send and receive MacTCP UDP packets, setting up a simple connectionless chat program.  Instead of an outstanding read command, an ASR is     used to inform the program there is data to be received.    Nets & Comm
  66. AsyncPB    AsyncPB is an example of how File System calls can be made    in a chain from an interrupt handler like the Time Manager.     OS
  67. DeleteDirectory    This C routine will delete a subdirectory from a Macintosh volume, including any nested directories. It works in AppleShare as well as normal environments.    OS
  68. deleteEmptyDir    These MPW tools identify and/or delete all empty folders on a specified volume using PBCatSearch.    OS
  69. ficycle    This THINK Pascal™ program lists the files contained in a folder.    OS
  70. FindSysFolder    In this code, the FindSysFolder returns the real vRefNum and dirID of the current System Folder. It uses the Folder Manager, if possible, or falls back to SysEnvirons.    OS
  71. KillEveryOneButMe    This thing shows you how to kill all the other applications running on a machine for demos, school situations, kiosks, etc. PLEASE don't abuse this. ONLY do this in very special circumstances, or you're taking power away from the user and weakening the strength of the Mac.     OS
  72. NoSound    This small app, placed in your Startup Items folder,  quiets the startup sound by installing a Shutdown procedure that saves the current volume setting and sets the volume to 1. On the following startup, the saved setting is restored, and the Shutdown procedure is re-installed for next time. And so on...    OS
  73. ParseFullPathname    ParseFullPathname takes a full pathname (which can be longer than 255 chars, and walks down it, converting it to dirID's along the way. This is the opposite of the procedure described in TN #68 (more or less). DTS does not condone this.    OS
  74. PBAllocate    This MPW tool shows how to work around a bug in PBAllocate.    OS
  75. PBCatSearch    This small sample shows how to use the PBCatSearch function. It presents a dialog where you can enter any Creator and File Type, then it searches for one (1) file with that creator and type. When it finds it, it will show you the file name.    OS
  76. Process    An MPW tool that prints information about all running processes under System 7.0.    OS
  77. quitapps    DTS Code Snippet to quit all running applications (except yourself)    OS
  78. ReadLN.c    A routine that causes the FSRead call to behave like a Pascal Readln.    OS
  79. ReadSector MSDOS    This snippet shows that reading and writing physical sectors on MS-DOS floppies is easy, and that you can implement the required functionality within your application (as Apple File Exchange does), rather than writing an external file system.    OS
  80. SFGetFolder C    This sample uses the new System 7 CustomGetFile routine to provide a StandardGetFolder call to be used by applications when the user needs to select a folder instead of a file. C Version.    OS
  81. SFGetFolder Pascal    This sample uses the new System 7 CustomGetFile routine to provide a StandardGetFolder call to be used by applications when the user needs to select a folder instead of a file. Pascal Version.    OS
  82. SlotVInstall    This little program installs a slot VBL task for the main screen, even if the main screen uses built-in video, by getting the gdRefNum and calling GetDctlEntry to find the slot number.    OS
  83. SubLaunch    This sample application shows how to launch one application from another.    OS
  84. VBLThang.p    InstallPersistentVBL takes a VBLRecord and installs it in such a way in this sample code that the VBL will get time even when the application that installs it is switched out.    OS
  85. AE/EM trapping 1.0.1    Some MacsBug macros that allow you to break on AppleEvent and Edition Manager PACK calls.With these macros you can  type 'atb AESend' (or any other AppleEvent or Edition Manager call) and you will break when the call is made.    Platforms & Tools:Debugging
  86. BusErrorTest    Shows how to replace the 68K bus error vector—very useful for testing.    Platforms & Tools:Debugging
  87. Gestalt dcmd    This dcmd (debugger command for MacsBug) allows you to “use” Gestalt when you're in MacsBug. You can either ask for a particular selector (ie. evnt) or ask for all (no arguments). The response is either a string (when the selector is known) or the numeric value returned by Gestalt.    Platforms & Tools:Debugging
  88. Heap Purge dcmd    Simulates TMON’s heap purge in MacsBug.    Platforms & Tools:Debugging
  89. ScreenShots from MacsBug    It is possible to take a screen shot while in MacsBug  by adding this function to your program.  You can jump directly to this function from anywhere in your program using MacsBug commands, take a screen shot, and then continue with normal program execution.     Platforms & Tools:Debugging
  90. AEGestalt    AEGestalt is a MacApp 3.0 application which shows how to make use of the builtin Apple events support.     Platforms & Tools:MacApp
  91. Dialogs    This MacApp sample shows how TextEdit views are enabled/disabled, in this case with radio buttons.    Platforms & Tools:MacApp
  92. Eenie    Eenie - example MacApp 3.0 program of how to use the Dependency mechanism and Adorners. Also shows how to use the new View format with defining customized cursors over views.    Platforms & Tools:MacApp
  93. Low Level Debugger macros    Debugger macros for MacApp 3.0.     Platforms & Tools:MacApp
  94. MacApp C++ Load/dump    Two MPW scripts that show a couple ways to use load/dump in MAMake files.    Platforms & Tools:MacApp
  95. MouseInfo 1.0.1    This sample shows how to make use of MacApp 3.0 Behaviors, how to create them, how behaviors could control window information, track events, and also spawn off other behaviors.     Platforms & Tools:MacApp
  96. PICTDialog    This MacApp sample shows how easy it is to include PICT resources in modal dialogs.    Platforms & Tools:MacApp
  97. Windoid    Windoid is a MacApp 3.0 sample, which shows how to construct tear-off floating windows.    Platforms & Tools:MacApp
  98. C++ TTracer class    TTracer is an example of a C++ tracing agent class, which could be used for keeping track of what class is constructed, and destructed. The idea is to keep track of the construction/destruction handling, so possible memory leaks are detected before long-term run-time errors.    Platforms & Tools:Other
  99. LockFile    Demonstrates setting the file lock bit in an action atom for the installer.  This action atom code resource must be called through a post installation action atom.  In the selector field, pass in the name of the target 'infs'     resource id.    Platforms & Tools:Other
  100. Recipes.C++    Recipes for various C++ constructions.    Platforms & Tools:Other
  101. RemoveVMSVersionNumbers    This MPW script removes VMS style version number extensions from file  names.    Platforms & Tools:Other
  102. ShowBalloon XFCN    This XFCN allows you to use Balloon Help in conjunction with HyperCard. The source code and the demo stack will get you going.    Platforms & Tools:Other
  103. TRandom    TRandom is a small utility class for random number generations. This sample shows how to create a small stack-based C++ class, how to write test suites which are static functions, and how to define in general a default C++ class library.    Platforms & Tools:Other
  104. AE Interaction Sample    Two small applications, Sender and Receiver, show what interaction levels mean to the Apple Event Manager.    Toolbox & IAC:AppleEvents
  105. AECDEV/AEDEAMON    This sample is designed to answer that age-old question; "How do I send AppleEvents from a DA/CDEV/INIT/Driver?" Read the read_me to find the answer <grin>.    Toolbox & IAC:AppleEvents
  106. AECoercion    AECoercionINIT shows how to install System level AppleEvent Coercion routines at INIT time.  You may also be interested in the coercion routines as samples of AE coercions in general.    Toolbox & IAC:AppleEvents
  107. FinderOpenSelection    This sample sends Finder 'Open Selection' events two different ways. The first, 'Send Open Selection', opens the file you select. The second,'Open Window Containing...' will open the Finder window containing the file you select.    Toolbox & IAC:AppleEvents
  108. LaunchWithDoc    This is the smallest Launch application we could come up with; it launches an application with the 'odoc' (Open Documents) Apple event.    Toolbox & IAC:AppleEvents
  109. ODOC    This sample sends an 'odoc' event to a specified running application    Toolbox & IAC:AppleEvents
  110. SendFinderOpen    This snippet shows you how to send an OpenSelection Finder AppleEvent.    Toolbox & IAC:AppleEvents
  111. ChangeTextStyleRec    A utility routine that can simplify the process of modifying a TextStyle record to change a font, style, or type size.    Toolbox & IAC:Other
  112. ColorCDEF    This working sample defproc emulates the features of the standard button control for system software 7.0 on the macintosh.    Toolbox & IAC:Other
  113. DialogBits    This sample application shows how to deal with many of the most commonly asked questions about the Dialog Manager.    Toolbox & IAC:Other
  114. GetFInfo, GetVInfo    MPW Tools that simply parse command-line options and print the value of the parameter blocks returned from Toolbox calls.    Toolbox & IAC:Other
  115. IPCLister    A small example of how to use IPCListPorts. This sample collects and displays all the PPC/AppleEvent capable machines in your current zone and puts them in a nice list.    Toolbox & IAC:Other
  116. ItemHider    Two sample applications, in both MPW and Turbo Pascal® versions, show how to hide editText fields in a dialog.    Toolbox & IAC:Other
  117. jGNEFilter    This snippet is a sample GetNextEvent filter which uses the JGNEFilter mechanism described in Tech Note #85 "GetNextEvent: Blinking Apple Menu".    Toolbox & IAC:Other
  118. KCAP  app 1.2    Demonstration keyboard drawing from KCAP resource. The DrawKeyCaps function draws the key caps, given a set of  modifiers (in the high byte of the modifier short parameter) and KCHR and KCAP resource IDs, using the current pen in  the current GrafPort .     Toolbox & IAC:Other
  119. KeyMapTest    Shows how to interpret the results of GetKeys.    Toolbox & IAC:Other
  120. MDEF.Sample    An MDEF written in Pascal that supports rez MENU templates and allows you to request the use of the Shift-Command symbol (made famous by our friends to the North).    Toolbox & IAC:Other
  121. MModal 7.0    A small sample showing one way of implementing Movable Modal dialogs in a 7.0 or later application.    Toolbox & IAC:Other
  122. Modal TextEdit    This snippet shows the steps necessary to implement a scrolling, editable text field in a modal dialog.    Toolbox & IAC:Other
  123. OpenWindow    Shows basic initialization calls and how to open a window for drawing.    Toolbox & IAC:Other
  124. Password    This is a simple demo of three ways to implement a password dialog, where characters typed are not drawn; instead, anonymous characters such as bullets are drawn, keeping the password secure.    Toolbox & IAC:Other
  125. readLocation    This snippet shows how to retrieve the Map control panel settings for longitude and latitude and the time offset from GMT    Toolbox & IAC:Other
  126. ReKeyTrans    Shows how to use the Script Manager and KCHRs to call KeyTrans.    Toolbox & IAC:Other
  127. resolveRelativeAlias    resolveRelativeAlias is an MPW tool which demonstrates use of a relative alias for locating a file in a known folder on an unknown volume.    Toolbox & IAC:Other
  128. Rubber Bandit    This silly little app demonstrates how to do rubber-banding in a dialog using srcXOr mode.    Toolbox & IAC:Other
  129. SetIndString    This C function takes the same parameters as GetIndString but does the opposite: it sets a particular STR# string to the string that’s passed in.    Toolbox & IAC:Other
  130. SICN LDEF    This LDEF displays small icons to the left of text in a list.    Toolbox & IAC:Other
  131. Simple HLE    Here is a simple High Level Event sample. It posts two events, then uses a filter to accept the second one. Using AppleEvents is a much better solution than using High Level Events, however...     Toolbox & IAC:Other
  132. TestGestalt    These sample applications show how to use Gestalt to get information on system features.    Toolbox & IAC:Other
  133. VertTest    This sample application shows how to get information from a 'vers' resource (see Technical Note #189).    Toolbox & IAC:Other
  134. WDEFColorSample    This sample shows how to obtain the colors that embellish System 7 window, and was written for developers who found the system 7 WDEF too obscure. Though I tried to make it resemble the WDEF organization, it is NOT a sample on how to write one.    Toolbox & IAC:Other
  135. WDEFPatch    This snippet shows how you can add a simple extra part to an existing WDEF and be able to do hit testing on the part via FindWindow().  The extra part in this case is on the right side of the title bar, just to the left of where the zoombox would be.  When hit, it inverts the window.    Toolbox & IAC:Other
  136. ZoomRecter    This snippet shows how to do "Finder" style zooming between two rectangles. The boolean flag "kZoomLarger" controls the proportional direction of the zooming.    Toolbox & IAC:Other
  137. ZoomWindow    Demonstrates how to properly zoom a window. It gives attractive results with most WDEFs because it uses the window’s structure region rather than just its portRect.    Toolbox & IAC:Other
  138. 2BufRecord&Play    This application uses double buffering for both recording and playback.    Toolbox & IAC:Sound
  139. 2BufRecordBufferCmd    This application records the sound into two buffers and as one buffer is recording the other buffer is played using bufferCmd.    Toolbox & IAC:Sound
  140. 2BufRecordSndPlay    This application records the sound into two buffers and as one buffer is recording the other buffer is played using SndPlay.    Toolbox & IAC:Sound
  141. BufCallback    This code demonstrates the use of a call back routine with the sound manager.  All it does is play a sound with bufferCmd and then wait for the call back routine to be called.  When the routine is called the app goes back to the event loop.     Toolbox & IAC:Sound
  142. ClickSound    A simple sound producer.    Toolbox & IAC:Sound
  143. Double Buffer    This sample application shows how to play sounds using double buffering.    Toolbox & IAC:Sound
  144. EasyPlayRecord    This simple application demonstrates the use of SnStartFileplay at the same time as doing simple recording.  The sound file is a AIFF file.  The sound will continue to play until it is done.  When the recording is stopped the recorded sound will be played over the currently playing sound.    Toolbox & IAC:Sound
  145. EnableSoundThrough    This application, written in THINK Pascal, demonstrates how to enable input sound playthrough. On a Macintosh LC, enabling playthrough kills sound output; on a Macintosh si, you can play back at the same time.    Toolbox & IAC:Sound
  146. FreqForEverChange    This sample application shows how to play a sound and how to alter its frequency.    Toolbox & IAC:Sound
  147. MultiPlay    This sample application shows how to play a sound several times in a row.    Toolbox & IAC:Sound
  148. RecordToFile    This app builds an AIFF file (actually it rebuilds a file which is selected).  Then it records to the file with the low level sound input calls.  When the recording is done, the code make sure that the AIFF header is correct and then plays the sound back with SndStartFilePlay.    Toolbox & IAC:Sound
  149. SampleSndPlay    This sample application shows how to use SndStartFilePlay.    Toolbox & IAC:Sound
  150. SndForEver    This application demonstrates how to play a 'snd ' resource that has a loop in it.    Toolbox & IAC:Sound
  151. SoundLevel        A simple application that meters the sound input level on the microphone using     a display much like a VCR peak-hold bar meter.    Toolbox & IAC:Sound
  152. 'vox ' recording    This application uses Quad buffering for both recording and playback.  The recording is done with vox recording on, so it only records sound which is at least of a certain level.    Toolbox & IAC:Sound
  153. WavePlay    This application makes a white noise wave table and plays a frequency through it; then it plays the same frequency through a square wave.    Toolbox & IAC:Sound
  154.